package com.alone.wchat.admin.system.service;


import com.alone.wchat.admin.system.entity.SysUserEntity;
import com.alone.wchat.admin.system.entity.SysUserTokenEntity;

import java.util.Set;

/**
 * shiro相关接口
 *
 */
public interface IShiroService {
    /**
     * 获取用户权限列表
     */
    Set<String> getUserPermissions(long userId);

    SysUserTokenEntity queryByToken(String accessToken);

    SysUserEntity queryUser(Long userId);
}
